package com.link.base.base.codereview.model;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 根据代码审计表的目录字段生成目录树
 *
 * @author LiYang
 * @date 20191030
 */
public class DirectoryTree {

    /**
     * 深度
     */
    private Integer dirDeep;

    /**
     * 目录名
     */
    private String dirName;

    /**
     * 目录描述
     */
    private String dirDescription;

    /**
     * 包含的文件信息
     */
    private List<Map<String, Object>> fileList = new ArrayList<>(16);

    /**
     * 子目录信息
     */
    private List<DirectoryTree> childrenDir = new ArrayList<>(16);

    public Integer getDirDeep() {
        return dirDeep;
    }

    public void setDirDeep(Integer dirDeep) {
        this.dirDeep = dirDeep;
    }

    public String getDirName() {
        return dirName;
    }

    public void setDirName(String dirName) {
        this.dirName = dirName;
    }

    public String getDirDescription() {
        return dirDescription;
    }

    public void setDirDescription(String dirDescription) {
        this.dirDescription = dirDescription;
    }

    public List<Map<String, Object>> getFileList() {
        return fileList;
    }

    public void setFileList(List<Map<String, Object>> fileList) {
        this.fileList = fileList;
    }

    public List<DirectoryTree> getChildrenDir() {
        return childrenDir;
    }

    public void setChildrenDir(List<DirectoryTree> childrenDir) {
        this.childrenDir = childrenDir;
    }
}
